package com.macro.mall.mapper;

import com.macro.mall.model.ExQuestionOption;
import com.macro.mall.model.ExQuestionOptionExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ExQuestionOptionMapper {
    long countByExample(ExQuestionOptionExample example);

    int deleteByExample(ExQuestionOptionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ExQuestionOption record);

    int insertSelective(ExQuestionOption record);

    List<ExQuestionOption> selectByExample(ExQuestionOptionExample example);

    ExQuestionOption selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ExQuestionOption record, @Param("example") ExQuestionOptionExample example);

    int updateByExample(@Param("record") ExQuestionOption record, @Param("example") ExQuestionOptionExample example);

    int updateByPrimaryKeySelective(ExQuestionOption record);

    int updateByPrimaryKey(ExQuestionOption record);
}